package com.fulihui.usercore.request.user;

import org.near.servicesupport.request.BaseRequest;

import java.util.Map;

/**
 * 用户登录请求对象
 * Created by Willard.Hu on 2016/5/16.
 */
@Deprecated
// TODO [huwei] delete
public class UserLoginRequest extends BaseRequest {
    private static final long   serialVersionUID = 2561129952501305464L;
    /**
     * 登录账号，账号注册登录时必填
     */
    private String              loginId;
    /**
     * 密码，密码登录时必填
     */
    private String              password;
    /**
     * 外部授权唯一标识，第三方授权登录时必填
     */
    private String              outUniqueId;
    /**
     * 注册类型
     * @see com.fulihui.usercore.enums.UserRegisterTypeEnum
     */
     private String              registerType;
    /**
     * 纬度
     */
    private String              latitude;
    /**
     * 经度
     */
    private String              longitude;
    /**
     * 用户IP地址或mac
     */
    private String              userIP;
    /**
     * 扩展请求参数
     */
    private Map<String, Object> extReq;
    /**
     * 登录验证码
     */
    private String              vcode;
    /**
     * 验证码命名空间,通过该字段隔离验证码
     */
    private String              vcodeNamespace;

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOutUniqueId() {
        return outUniqueId;
    }

    public void setOutUniqueId(String outUniqueId) {
        this.outUniqueId = outUniqueId;
    }

    public String getRegisterType() {
        return registerType;
    }

    public void setRegisterType(String registerType) {
        this.registerType = registerType;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getUserIP() {
        return userIP;
    }

    public void setUserIP(String userIP) {
        this.userIP = userIP;
    }

    public Map<String, Object> getExtReq() {
        return extReq;
    }

    public void setExtReq(Map<String, Object> extReq) {
        this.extReq = extReq;
    }

    public String getVcode() {
        return vcode;
    }

    public void setVcode(String vcode) {
        this.vcode = vcode;
    }

    public String getVcodeNamespace() {
        return vcodeNamespace;
    }

    public void setVcodeNamespace(String vcodeNamespace) {
        this.vcodeNamespace = vcodeNamespace;
    }
}
